package com.woniu.apiBoss.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.internalcommon.dto.ApiBossOrder;
import com.woniu.internalcommon.dto.OrderInfo;
import com.woniu.internalcommon.dto.ResponseResult;
import com.woniu.internalcommon.remote.ServiceOrderClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zcnovice
 * @data 2025/7/15 上午11:01
 */
@Service
public class ApiOrderService {
    @Autowired
    private ServiceOrderClient serviceOrderClient;


    public ResponseResult<Page<OrderInfo>> getAll(ApiBossOrder apiBossOrder) {
        return serviceOrderClient.select(apiBossOrder);
    }
}
